package com.example.framework.base;

import android.content.pm.ActivityInfo;
import android.os.Bundle;

import com.example.framework.utils.SystemUI;

/**
 * Created By chentao On 2020/2/22 23:53
 * Describe: UI基类
 */
public class BaseUIActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); // 禁用横屏
        SystemUI.fixSystemUI(this);
    }
}
